package com.guchenbo.example.dubbo.cluster;

import com.guchenbo.example.dubbo.template.RouterTemplate;
import org.apache.dubbo.common.URL;
import org.apache.dubbo.rpc.Invocation;
import org.apache.dubbo.rpc.Invoker;
import org.apache.dubbo.rpc.RpcException;

import java.util.List;

public class GcbRouter extends RouterTemplate {

  public GcbRouter(URL url) {
    super(url);
  }

  @Override
  public <T> List<Invoker<T>> route(List<Invoker<T>> invokers, URL url, Invocation invocation)
      throws RpcException {
    return invokers;
  }
}
